	
	<?php if(isset($this->form_validation)): ?>
		<?php $this->form_validation->set_error_delimiters('<div>', '</div>'); ?>
		<?php if(validation_errors()):?>
			<div class="notification error png_bg">
				<a href="#" class="close">
					<img src="<?php echo static_url("images/icons/cross_grey_small.png"); ?>" title="Close this notification" alt="close" />
				</a>
				<?php echo validation_errors(); ?>
			</div>
		<?php endif;?>
	<?php endif;?>
	
	<?php if($this->session->flashdata('error') || isset($error)): ?>
		<?php $flashData = $this->session->flashdata('error')? $this->session->flashdata('error'): array();?>
		<?php if(isset($error)):?>
		<?php $flashData = array_merge($flashData, $error);?>
		<?php endif;?>
		
		<?php foreach($flashData as $data):?>
		<div class="notification error png_bg">
			<a href="#" class="close">
				<img src="<?php echo static_url("images/icons/cross_grey_small.png"); ?>" title="Close this notification" alt="close" />
			</a>
			<div>
				<?php echo $data; ?>
			</div>
		</div>
		<?php endforeach;?>

	<?php endif; ?>	

	<?php if($this->session->flashdata('attention') || isset($attention)): ?>
		<?php $flashData = $this->session->flashdata('attention')? $this->session->flashdata('attention'): array();?>
		<?php if(isset($attention)):?>
		<?php $flashData = array_merge($flashData, $attention);?>
		<?php endif;?>

		<?php foreach($flashData as $data):?>
		<div class="notification attention png_bg">
			<a href="#" class="close">
				<img src="<?php echo static_url("images/icons/cross_grey_small.png"); ?>" title="Close this notification" alt="close" />
			</a>
			<div>
			<?php echo $data; ?>
			</div>
		</div>
		<?php endforeach;?>

	<?php endif; ?>	

	<?php if($this->session->flashdata('success') || isset($success)): ?>
		<?php $flashData = $this->session->flashdata('success')? $this->session->flashdata('success'): array();?>
		<?php if(isset($success)):?>
		<?php $flashData = array_merge($flashData, $success);?>
		<?php endif;?>
		
		<?php foreach($flashData as $data):?>
		<div class="notification success png_bg">
			<a href="#" class="close">
				<img src="<?php echo static_url("images/icons/cross_grey_small.png"); ?>" title="Close this notification" alt="close" />
			</a>
			<div>
			<?php echo $data; ?>
			</div>
		</div>
		<?php endforeach;?>
	<?php endif; ?>